import request from '@/utils/request'

export const authApi = {
  // 用户登录
  login: (credentials) => request.post('/blog-admin/sys/auth/login', credentials),
  // 可以添加其他认证相关接口，如登出、刷新token等
  logout: () => request.post('/blog-admin/api/auth/logout')
}